﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/index.Master" CodeBehind="PridatFotografii.aspx.cs" Inherits="Fotobanka.PridatFotografii" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="Obsah" runat="server">
    
    <asp:Label ID="Label2" runat="server" Text="Soubor"></asp:Label>
    
    <asp:FileUpload ID="FileUpload1" runat="server" BorderWidth="1" BorderColor="Black" />

    <br />
    <asp:Label ID="Label1" runat="server" Text="Titulek"></asp:Label>
    <asp:TextBox ID="title" runat="server" BorderWidth="1" BorderColor="Black"></asp:TextBox>

    <br />
    <asp:Button ID="SubmitFile" runat="server" onclick="SubmitFile_Click" 
        Text="Přidat" BorderWidth="1" BorderColor="Black" />
    <br />
    <asp:Label ID="errors" runat="server" ForeColor="Red"></asp:Label>
    
    &nbsp;<br />
    <br />
    <asp:Label ID="Label3" runat="server" Text="Ftp url se zip archivem"></asp:Label>
    <asp:TextBox ID="url" runat="server" BorderColor="Black" BorderWidth="1px" 
        Width="226px"></asp:TextBox>
    <asp:Button ID="AddFromURLBUtton" runat="server" BorderColor="Black" 
        BorderWidth="1px" onclick="url_Click" Text="Přidat z ftp" />
    <br />
    <asp:Label ID="errors2" runat="server" ForeColor="Red"></asp:Label>
&nbsp;
    
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="Ovladaci_panel" runat="server">
</asp:Content>
